package com.example.ntweixin.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.ntweixin.entity.WeixinUserInfo;
import com.example.ntweixin.dao.WeixinUserInfoDao;

@Service
public class WeixinUserInfoService{

    @Resource
    private WeixinUserInfoDao weixinUserInfoDao;

    public int insert(WeixinUserInfo pojo){
        return weixinUserInfoDao.insert(pojo);
    }

    public int insertSelective(WeixinUserInfo pojo){
        return weixinUserInfoDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinUserInfo> pojos){
        return weixinUserInfoDao.insertList(pojos);
    }

    public int update(WeixinUserInfo pojo){
        return weixinUserInfoDao.update(pojo);
    }
}
